INCLUDEPATH += $$PWD

HEADERS += \
    $$PWD/QtOpencv.h\
    $$PWD/line2Dup.h\
    $$PWD/matsource.h\

SOURCES += \
    $$PWD/QtOpencv.cpp\
    $$PWD/line2Dup.cpp
#windows绘图库导入
INCLUDEPATH += $$quote( C:\Program Files (x86)\10\Include\10.0.17763.0\um\ )
DEPENDPATH += $$quote( C:\Program Files (x86)\10\Lib\10.0.17763.0\um\x64\ )
LIBS += -lgdi32

win32{
    win32:CONFIG(release, debug|release): LIBS += -L$$(3rdParty)/opencv/lib/ -lopencv_world451
    else:win32:CONFIG(debug, debug|release): LIBS += -L$$(3rdParty)/opencv/lib/ -lopencv_world451d

    INCLUDEPATH += $$(3rdParty)/opencv/include
    DEPENDPATH += $$(3rdParty)/opencv/include
}
